# -*- coding: utf-8 -*-
# @description: 
# @File  : rules.py
# @Time  :2020-07-27 18:15:15
# @Author:selfeasy
# @Email :gm_selfeasy@163.com
from werkzeug.wrappers import Request, Response
from werkzeug.routing import Map, Rule
from werkzeug.exceptions import NotFound, BadRequest
from utils import expose




@expose('/rule', methods=['post', 'get'])
def rule_test(request):
    data = request.environ['wsgi.input']
    return Response(str(data))